import { withInstall } from "/@/utils"
import selectMaterialModal from "./src/MySelectMaterialModal.vue"
import selectMaterial from "./src/MySelectMaterial.vue"
import meterialGroupModal from "./src/components/MeterialGroupModal.vue"
import { useComponentRegister } from "/@/components/Form/src/hooks/useComponentRegister"

export const MySelectMaterialModal = withInstall(selectMaterialModal)
export const MySelectMaterial = withInstall(selectMaterial)
export const MyMeterialGroupModal = withInstall(meterialGroupModal)

export const useSelectMaterial = () => {
  useComponentRegister("MySelectMaterial", MySelectMaterial)
}
